package com.example.model;

import java.util.Date;

public class Borrow {
    private int id;
    private int book_id;
    private int user_id;
    private Date borrow_date;
    private Date return_date;
    public Borrow(int id, int book_id,int user_id,Date borrow_date,Date return_date) {
        this.id = id;
        this.book_id = book_id;
        this.user_id = user_id;
        this.borrow_date = borrow_date;
        this.return_date =return_date;
    }
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getBook_id() {
        return book_id;
    }
    public void setBook_id(Integer book_id) {
        this.book_id = book_id;
    }
    public Integer getUser_id() {return user_id;}
    public void setUser_id(Integer user_id) {this.user_id =user_id;}
    public Date getBorrow_date() {
        return borrow_date;
    }
    public void setBorrow_date(Date borrow_date) {this.borrow_date =borrow_date;}
    public Date getReturn_date() {
        return return_date;
    }
    public void setReturn_date(Date return_date) {this.return_date =return_date;}

}